package com.app.model;

import cn.hutool.json.JSONObject;
import com.app.vo.FileVo;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
import java.util.List;

/**
 * 报灾专线
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("lm_claims_settlement")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ClaimsSettlementModel {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer reportId; //报灾id
    private Integer adminId; //处理账号
    private Integer claimsSettlementStatus; //理赔状态1已理赔2未理赔
    private String processingName;//处理人姓名
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8") //后端注解格式化日期
    private Timestamp processingTime;//处理时间
    private String relatedMaterials;//相关材料
    private String remark;//备注
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") //后端注解格式化日期
    private Timestamp createTime;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") //后端注解格式化日期
    private Timestamp updateTime;
    @TableField(exist = false)
    private List<FileVo> fileList;
}
